QT      += core gui network sql qml quick concurrent  widgets  xml
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin

DESTDIR = ../../../dist/plugins
TARGET  = sailmipim_plugin_eventlog

TEMPLATE = lib
DEFINES += _HAS_DEPRECATED_RESULT_OF

CONFIG += file_copies
res.files = $$PWD/resources
#set.files = $$PWD/settings
res.path = $$DESTDIR/../
#set.path = $$DESTDIR/../
COPIES += res set


INCLUDEPATH += ../../interfaces               \
                ../../util/sailmipim_util_core     \
               ../../util/sailmipim_util_tags     \
               ../../util/sailmipim_util_gui     \
               ../../util/sailmipim_util_models     \
               ../../util/sailmipim_util_sll     \

LIBS += -L../../../dist          \
        -lsailmipim_util_core          \
        -lsailmipim_util_tags        \
        -lsailmipim_util_gui         \
        -lsailmipim_util_models      \
        -lsailmipim_util_sll          \

FORMS += \
    src/eventlogwidget.ui

DISTFILES += \
    resources/share/global_icons/plugins/default/eventlog.svg

TRANSLATIONS += \
    resources/locales/sailmipim_eventlog_en.ts

HEADERS += \
    src/core.h \
    src/eventlog.h \
    src/eventlogtagsfilter.h \
    src/eventlogwidget.h \
    src/modeldelegate.h

SOURCES += \
    src/core.cpp \
    src/eventlog.cpp \
    src/eventlogagsfilter.cpp \
    src/eventlogwidget.cpp \
    src/modeldelegate.cpp





